package com.xia.service.impl;

import com.xia.mapper.AdminMapper;
import com.xia.pojo.Admin;
import com.xia.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    public AdminMapper adminMapper;

    @Override
    public Admin adminQuery(Map<String, Object> map) {
        return adminMapper.adminQuery(map);
    }

    @Override
    public void editPwd(Map<String, Object> map) {
        adminMapper.editPwd(map);
    }

    @Override
    public Integer checkPwd(Admin admin) {
        return adminMapper.checkPwd(admin);
    }
}
